To invoke the APIs, a developer needs to download Test Data by registering and logging into the BOI Developer Portal. This Test Data will provide the required PSU/Customer Account details required to invoke the APIs.
This sections provides Sandbox Mocking Information related to API requests and responses.
1.1. Variable Recurring Payment Consents
Validations | Description/Response |
AmountValidation | If Amount is of the form 100xx consent status is Rejected |
POST API Validation | If Amount is of the form 800xx, API will return 500, Internal Server Error |
GET API Validation | If Amount is of the form 700xx, Consent will be created but on fetching status user will get Internal Server Error |
SecondaryIdentification Validation | If SecondaryIdentification of CreditorAccount provided in the request is of the form 333xx, API will return 400 Bad Request with UK.OBIE.Unsupported.AccountSecondaryIdentifier error |
1.2. Variable Recurring Payment – Confirmation of Funds API
Validations | Description/Response |
AmountValidation | If Amount is of the form 200xx then fundsAvailable flag in response is false else true |
AdditionalValidation | If Amount is of the form 600xx API returns 500, Internal Server Error |
1.3. Variable Recurring Payments API
Validations | Description/Response |
AmountValidation | If Amount is of the form 200xx, payment status is Rejected |
POST API Validation | If Amount is of the form 600xx, API will return 500, Internal Server Error |
GET API Validation | If Amount is of the form 700xx, payments resource will be created but on fetching status user will get Internal Server Error |
If Amount is of the form 200xx, payment status is Rejected |